package com.hzhjhh.view.manageView.menus.query.saleStatistics;

import java.awt.Font;

import javax.swing.JComboBox;
import javax.swing.JLabel;

import com.hzhjhh.util.ComboBoxFillUtils;

/**
 * 导航栏初始化-销售管理-销售统计弹出框-起始日期
 * 
 * @author 12083
 *
 */
public class StartDate {

	public static JLabel lbEndDayInit() {
		JLabel lbDayEnd = new JLabel();
        lbDayEnd.setText("日");
        lbDayEnd.setBounds(487, 62, 33, 20);
		
		return lbDayEnd;
	}
	public static JComboBox<String> cobEndDayInit() {
		JComboBox<String> cobDayEnd = new JComboBox<>();
        ComboBoxFillUtils.packageDate(cobDayEnd);
        cobDayEnd.setBounds(419, 62, 56, 20);
		
		return cobDayEnd;
	}
	public static JLabel lbEndMonthInit() {
		JLabel lbMonthEnd = new JLabel();
        lbMonthEnd.setText("月");
        lbMonthEnd.setBounds(399, 62, 21, 20);
		
		return lbMonthEnd;
	}
	public static JComboBox<String> cobEndMonthInit() {
		JComboBox<String> cobMonthEnd = new JComboBox<>();
        cobMonthEnd.setBounds(336, 61, 54, 20);
        ComboBoxFillUtils.packageMonth(cobMonthEnd);
		
		return cobMonthEnd;
	}
	public static JLabel lbEndYearInit() {
		JLabel lbYearEnd = new JLabel();
        lbYearEnd.setText("年");
        lbYearEnd.setBounds(315, 62, 26, 20);
		
		return lbYearEnd;
	}
	public static JComboBox<String> cobEndYearInit() {
		JComboBox<String> cobYearEnd = new JComboBox<>();
        ComboBoxFillUtils.packingYear(cobYearEnd);
        cobYearEnd.setBounds(255, 62, 54, 20);
		
		return cobYearEnd;
	}
	public static JLabel lbEndDateInit() {
		JLabel endDate = new JLabel();
		endDate.setFont(new Font("宋体", Font.BOLD, 12));
        endDate.setText("结束日期：");
        endDate.setBounds(189, 62, 67, 20);
        
        return endDate;
	}
	
	
	public static JLabel lbStartDayInit() {
		JLabel lbDayStart = new JLabel();
        lbDayStart.setText("日");
        lbDayStart.setBounds(485, 31, 33, 20);
		
		return lbDayStart;
	}
	public static JComboBox<String> cobStartDayInit() {
		JComboBox<String> cobDayStart = new JComboBox<>();
        cobDayStart.setBounds(419, 31, 56, 20);
        ComboBoxFillUtils.packageDate(cobDayStart);
		
		return cobDayStart;
	}
	public static JLabel lbStartMonthInit() {
		JLabel lbMonthStart = new JLabel();
        lbMonthStart.setText("月");
        lbMonthStart.setBounds(396, 31, 21, 20);
		
		return lbMonthStart;
	}
	public static JComboBox<String> cobStartMonthInit() {
		JComboBox<String> cobMonthStart = new JComboBox<>();
        cobMonthStart.setBounds(336, 31, 54, 20);
        ComboBoxFillUtils.packageMonth(cobMonthStart);
		
		return cobMonthStart;
	}
	public static JLabel lbStartYearInit() {
		JLabel lbYearStart = new JLabel();
        lbYearStart.setText("年");
        lbYearStart.setBounds(315, 31, 26, 20);
		
		return lbYearStart;
	}
	public static JComboBox<String> cobStartYearInit() {
		JComboBox<String> cobYearStart = new JComboBox<>();
        cobYearStart.setBounds(254, 31, 55, 20);
        ComboBoxFillUtils.packingYear(cobYearStart);
		
		return cobYearStart;
	}
	public static JLabel lbStartDateInit() {
		JLabel startDate = new JLabel();
		startDate.setFont(new Font("宋体", Font.BOLD, 12));
        startDate.setText("起始日期：");
        startDate.setBounds(189, 31, 66, 20);
        
        return startDate;
	}
}
